package com.wechat.order.form;

import lombok.Data;
import lombok.NonNull;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * Created by zzy on 2017/12/27.
 */
@Data
public class UserForm {

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

    @NotEmpty(message = "密码不能为空")
    private String nickname;

    @NotEmpty(message = "密码不能为空")
    private String email;

}
